package cn.donting.jme.event.spatial;

import cn.donting.jme.event.AbsEvent;
import com.jme3.scene.Spatial;
import lombok.Getter;

@Getter
public abstract class SpatialEvent extends AbsEvent {
    private Spatial spatial;

    public SpatialEvent(Object source, Spatial spatial) {
        super(source);
        this.spatial = spatial;
    }

    public SpatialEvent(Spatial spatial) {
        this.spatial = spatial;
    }
}
